package cn.hit.been;

import java.util.List;

import cn.hit.constant.HitConstants;

public class HitCodeSortBeen {
    /** 码类在数据库中是否存在 */
    private boolean isExist;
    /** 码值文件路径 */
    private String strCodeValueFileUrl;
    /** 码类主键 */
    private String strCodeSortId;
    /** 码类类别 */
    private String strCodeSortType;
    /** 码类来源 */
    private String strCodeSortSource;
    /** 码类状态 */
    private String strCodeSortStatus;
    /** 码类编号 */
    private String strCodeSortNo;
    /** 码类代号 */
    private String strCodeSortCode;
    /** 码类名称 */
    private String strCodeSortName;
    /** 码类简码 */
    private String strCodeSortJm;
    /** 程序主键 */
    private String strAppId;
    /** 权限标识 */
    private String strRightFlg;
    /** 显示名称 */
    private String strShowName;
    /** 显示顺序 */
    private String numShowOrder;
    /** 有效标识 */
    private String strValidFlg;
    /** 操作标识 */
    private String strOperateFlg;
    /** 备注 */
    private String strComment;
    /** 创建用户主键 */
    private String strCreateId;
    /** 创建时间 */
    private String datCreateTime;
    /** 修改用户主键 */
    private String strModifyId;
    /** 修改时间 */
    private String datModifyTime;
    /** 删除标识 */
    private String strDelFlg;
    /** 下属码值集合 */
    private List<HitCodeValueBeen> codeValueBeens = null;

    public HitCodeSortBeen() {
    }

    public boolean isExist() {
        return isExist;
    }

    public void setExist(boolean isExist) {
        this.isExist = isExist;
    }

    public String getStrCodeValueFileUrl() {
        return strCodeValueFileUrl;
    }

    public void setStrCodeValueFileUrl(String strCodeValueFileUrl) {
        this.strCodeValueFileUrl = strCodeValueFileUrl;
    }

    public String getStrCodeSortId() {
        return strCodeSortId;
    }

    public void setStrCodeSortId(String strCodeSortId) {
        this.strCodeSortId = strCodeSortId;
    }

    public String getStrCodeSortType() {
        return strCodeSortType;
    }

    public void setStrCodeSortType(String strCodeSortType) {
        if (HitConstants.COMMON_DD_NAME.equals(strCodeSortType)) {
            this.strCodeSortType = HitConstants.COMMON_DD_NO;
        } else if (HitConstants.COMMON_OTHER_NAME.equals(strCodeSortType)) {
            this.strCodeSortType = HitConstants.COMMON_OTHER_NO;
        } else if (HitConstants.CODE_SORT_TYPE_SYS_NAME.equals(strCodeSortType)) {
            this.strCodeSortType = HitConstants.CODE_SORT_TYPE_SYS_NO;
        } else if (HitConstants.CODE_SORT_TYPE_CLIENT_NAME.equals(strCodeSortType)) {
            this.strCodeSortType = HitConstants.CODE_SORT_TYPE_CLIENT_NO;
        } else {
            this.strCodeSortType = null;
        }
    }

    public String getStrCodeSortSource() {
        return strCodeSortSource;
    }

    public void setStrCodeSortSource(String strCodeSortSource) {
        if (HitConstants.COMMON_DD_NAME.equals(strCodeSortSource)) {
            this.strCodeSortSource = HitConstants.COMMON_DD_NO;
        } else if (HitConstants.COMMON_OTHER_NAME.equals(strCodeSortSource)) {
            this.strCodeSortSource = HitConstants.COMMON_OTHER_NO;
        } else if (HitConstants.COMMON_SOURCE_WRITE_NAME.equals(strCodeSortSource)) {
            this.strCodeSortSource = HitConstants.COMMON_SOURCE_WRITE_NO;
        } else if (HitConstants.COMMON_SOURCE_IMPORT_NAME.equals(strCodeSortSource)) {
            this.strCodeSortSource = HitConstants.COMMON_SOURCE_IMPORT_NO;
        } else {
            this.strCodeSortSource = null;
        }
    }

    public String getStrCodeSortStatus() {
        return strCodeSortStatus;
    }

    public void setStrCodeSortStatus(String strCodeSortStatus) {
        if (HitConstants.COMMON_DD_NAME.equals(strCodeSortStatus)) {
            this.strCodeSortStatus = HitConstants.COMMON_DD_NO;
        } else if (HitConstants.COMMON_OTHER_NAME.equals(strCodeSortStatus)) {
            this.strCodeSortStatus = HitConstants.COMMON_OTHER_NO;
        } else if (HitConstants.COMMON_STATUS_ENABLED_NAME.equals(strCodeSortStatus)) {
            this.strCodeSortStatus = HitConstants.COMMON_STATUS_ENABLED_NO;
        } else if (HitConstants.COMMON_STATUS_DISABLED_NAME.equals(strCodeSortStatus)) {
            this.strCodeSortStatus = HitConstants.COMMON_STATUS_DISABLED_NO;
        } else {
            this.strCodeSortStatus = null;
        }
    }

    public String getStrCodeSortNo() {
        return strCodeSortNo;
    }

    public void setStrCodeSortNo(String strCodeSortNo) {
        this.strCodeSortNo = strCodeSortNo;
    }

    public String getStrCodeSortCode() {
        return strCodeSortCode;
    }

    public void setStrCodeSortCode(String strCodeSortCode) {
        this.strCodeSortCode = strCodeSortCode;
    }

    public String getStrCodeSortName() {
        return strCodeSortName;
    }

    public void setStrCodeSortName(String strCodeSortName) {
        this.strCodeSortName = strCodeSortName;
    }

    public String getStrCodeSortJm() {
        return strCodeSortJm;
    }

    public void setStrCodeSortJm(String strCodeSortJm) {
        this.strCodeSortJm = strCodeSortJm;
    }

    public String getStrAppId() {
        return strAppId;
    }

    public void setStrAppId(String strAppId) {
        this.strAppId = strAppId;
    }

    public String getStrRightFlg() {
        return strRightFlg;
    }

    public void setStrRightFlg(String strRightFlg) {
        if (HitConstants.COMMON_DD_NAME.equals(strRightFlg)) {
            this.strRightFlg = HitConstants.COMMON_DD_NO;
        } else if (HitConstants.COMMON_OTHER_NAME.equals(strRightFlg)) {
            this.strRightFlg = HitConstants.COMMON_OTHER_NO;
        } else if (HitConstants.COMMON_RIGHT_SUPER_NAME.equals(strRightFlg)) {
            this.strRightFlg = HitConstants.COMMON_RIGHT_SUPER_NO;
        } else if (HitConstants.COMMON_RIGHT_SYS_NAME.equals(strRightFlg)) {
            this.strRightFlg = HitConstants.COMMON_RIGHT_SYS_NO;
        } else {
            this.strRightFlg = null;
        }
    }

    public String getStrShowName() {
        return strShowName;
    }

    public void setStrShowName(String strShowName) {
        this.strShowName = strShowName;
    }

    public String getNumShowOrder() {
        return numShowOrder;
    }

    public void setNumShowOrder(String numShowOrder) {
        this.numShowOrder = numShowOrder;
    }

    public String getStrValidFlg() {
        return strValidFlg;
    }

    public void setStrValidFlg(String strValidFlg) {
        if (HitConstants.COMMON_VALID_ENABLED_NAME.equals(strValidFlg)) {
            this.strValidFlg = HitConstants.COMMON_VALID_ENABLED_NO;
        } else if (HitConstants.COMMON_VALID_DISABLED_NAME.equals(strValidFlg)) {
            this.strValidFlg = HitConstants.COMMON_VALID_DISABLED_NO;
        } else {
            this.strValidFlg = null;
        }
    }

    public String getStrOperateFlg() {
        return strOperateFlg;
    }

    public void setStrOperateFlg(String strOperateFlg) {
        if (HitConstants.COMMON_OPERATION_STATUS_NAME.equals(strOperateFlg)) {
            this.strOperateFlg = HitConstants.COMMON_OPERATION_STATUS_NO;
        } else {
            this.strOperateFlg = null;
        }
    }

    public String getStrComment() {
        return strComment;
    }

    public void setStrComment(String strComment) {
        this.strComment = strComment;
    }

    public String getStrCreateId() {
        return strCreateId;
    }

    public void setStrCreateId(String strCreateId) {
        if (HitConstants.USER_INFO_MANAGER_NAME.equals(strCreateId)) {
            this.strCreateId = HitConstants.USER_INFO_MANAGER_NO;
        } else {
            this.strCreateId = strCreateId;
        }
    }

    public String getDatCreateTime() {
        return datCreateTime;
    }

    public void setDatCreateTime(String datCreateTime) {
        this.datCreateTime = datCreateTime;
    }

    public String getStrModifyId() {
        return strModifyId;
    }

    public void setStrModifyId(String strModifyId) {
        this.strModifyId = strModifyId;
    }

    public String getDatModifyTime() {
        return datModifyTime;
    }

    public void setDatModifyTime(String datModifyTime) {
        this.datModifyTime = datModifyTime;
    }

    public String getStrDelFlg() {
        return strDelFlg;
    }

    public void setStrDelFlg(String strDelFlg) {
        this.strDelFlg = strDelFlg;
    }

    public List<HitCodeValueBeen> getCodeValueBeens() {
        return codeValueBeens;
    }

    public void setCodeValueBeens(List<HitCodeValueBeen> codeValueBeens) {
        this.codeValueBeens = codeValueBeens;
    }
}
